import React, { Component } from 'react'
import { Button } from 'antd-mobile'
import './promptSuccess.less'

class prompt extends Component {
  constructor (props) {
    super(props)
    window.document.title = '提示页'
  }
  handleToJoin () {
    this.props.history.push('/join')
    // window.location.back(-2)
  }
  render () {
    return (
      <div>
        <div className='right-tip'>
          <img src={require('../../images/success.png')} />
        </div>
        <p className='submit-sucess'>提交成功</p>
        <p className='tips'>等待平台审核，审核成功会以电话形式通知您</p>
        <div className='btn-box'>
          <Button type='primary' onClick={() => this.handleToJoin()}>返回微职中心</Button>
        </div>
      </div>
    )
  }
}

export default prompt
